package cn.lzj.org.mapper;

import cn.lzj.org.domain.Shop;
import cn.lzj.basic.mapper.BaseMapper;
import cn.lzj.org.vo.ShopDto;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lzj
 * @since 2022-06-02
 */
public interface ShopMapper extends BaseMapper<Shop> {
    /**
     * 报表
     * @return
     */
     List<ShopDto> echartsDatas();

    /**
     * 校验店铺是否重复入驻
     * @param shop
     * @return
     */
    Shop loadByMessage(Shop shop);
}
